﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    [Serializable]
    public class CHUYENDL_DTO
    {
        #region Attributes
        private int _MaChuyenDL;
        private DateTime _NgayKhoiHanh ;
        private string _TongThoiGianDi;
        private float _GiaVeHienHanh;
        private int _LoaiChuyenDuLich;
        private int _MaTuyenDL;
        #endregion

        #region Default Constructor
        public CHUYENDL_DTO()
        {
            this._MaChuyenDL = 0;
            this._NgayKhoiHanh = new DateTime(1989, 02, 02); ;
            this._TongThoiGianDi = string.Empty;
            this._GiaVeHienHanh=0;
            this._LoaiChuyenDuLich = 0;
            this.MaTuyenDL = 0;
        }
        #endregion
        #region Public Properties
        public int MaChuyenDL
        {
            get { return _MaChuyenDL; }
            set { _MaChuyenDL = value; }
        }

        public DateTime NgayKhoiHanh
        {
            get { return _NgayKhoiHanh; }
            set { _NgayKhoiHanh = value; }
        }
        public string TongThoiGianDi
        {
            get { return _TongThoiGianDi; }
            set { _TongThoiGianDi=value;}
        }
        public float GiaVeHienHanh
        {
            get { return _GiaVeHienHanh; }
            set { _GiaVeHienHanh = value; }
        }
        public int LoaiChuyenDL
        {
            get { return _LoaiChuyenDuLich;}
            set { _LoaiChuyenDuLich = value;}
        }
        public int MaTuyenDL
        {
            get { return _MaTuyenDL; }
            set { _MaTuyenDL = value; }
        }
        #endregion
    }
}
